home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 2 / Amiga Tools 2.iso / tools / packer / zoo / varargs.h < prev    next >
C/C++ Source or Header  |  1995-03-09  |  264b  |  12 lines

  1. /* varargs.h */
  2. #ifndef __VARARGS_H
  3. #define __VARARGS_H
  4. typedef char *va_list;
  5. #define va_dcl            int va_alist;
  6. #define va_start(list)          list = (char *) &va_alist
  7. #define va_end(list)
  8. #define va_arg(list,type)       ((type*)(list+=sizeof(type)))[-1]
  9. #endif
  10.  
  11.  
  12.